// Decompiled by Jad v1.5.7f. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   IPollService.java

package com.iphaeton.lms.business.poll;

import com.iphaeton.common.helper.Pagination;
import com.iphaeton.exception.BusinessException;
import com.iphaeton.lms.pojo.poll.Option;
import com.iphaeton.lms.pojo.poll.Poll;
import java.util.List;

public interface IPollService
{

    public abstract void add(Poll poll)
        throws BusinessException;

    public abstract List queryPoll()
        throws BusinessException;

    public abstract String count(Option option)
        throws BusinessException;

    public abstract Poll findPollById(String s);

    public abstract List queryPollOption(String s)
        throws BusinessException;

    public abstract void addOption(Option option)
        throws BusinessException;

    public abstract List showPoll()
        throws BusinessException;

    public abstract void valid(String s)
        throws BusinessException;

    public abstract void open(String s)
        throws BusinessException;

    public abstract void removePoll(Poll poll)
        throws BusinessException;

    public abstract Pagination findPoll(int i)
        throws BusinessException;

    public abstract List getSpecifiedPoll(Pagination pagination)
        throws BusinessException;
}
